package com.francis.spring.framework.beans;

/**
 * @Author Francis
 * @Date 2020/11/15 16:50
 * @Version 1.0
 */
public class FrancisBeanWrapper {
    private Object wrappedInstance;
    private Class<?> wrappedClass;

    public FrancisBeanWrapper(Object wrappedInstance){
        this.wrappedInstance = wrappedInstance;
    }

    public Object getWrappedInstance(){
        return this.wrappedInstance;
    }

    /**
     * 返回代理以后的Class，$Proxy0
     */
    public Class<?> getWrappedClass(){
        return this.wrappedInstance.getClass();
    }
}
